package com.vhly.appspot.apns;

import com.google.appengine.api.datastore.ShortBlob;

import javax.jdo.annotations.*;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2010-4-13
 * Time: 13:09:11
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Device {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    
    @Persistent
    private String deviceToken;

    @Persistent
    private String accountName;

    @Persistent
    private String information;

    @Persistent
    private Integer product;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public Integer getProduct() {
        return product;
    }

    public void setProduct(Integer product) {
        this.product = product;
    }
}
